// let webpack = require('webpack')
let webpack = require('./selfPack')
let options = require('./webpack.config')

let complier = webpack(options)

complier.run(function (err, status) {

    console.log(err);
    console.log(status.toJson({
        entries: true,
        chunks: false,
        modules: false,
        assets: false
    }));
})